#pragma once
#include "Guard.h"





class EliteGuard : public Guard
{
public:
	EliteGuard() = default;
	~EliteGuard() = default;

	virtual void Update(float dt)	 override;
	//virtual void Render()			 override;
	virtual void HandleEvent(const SGD::Event* pEvent);
	virtual void HandleCollision(const IBase* pOther) override;

	//virtual SGD::Rectangle	GetRect(void)	const;
	virtual int GetType(void) const override { return OBJ_ELITE_GUARD; }
	virtual void Attack() override;
	SpawnDoor* GetOwner() const { return  m_pOwner; }

	void SetOwner(SpawnDoor* newOwner);
	friend class BaseBehavior;

private:

	SpawnDoor* m_pOwner = nullptr;

};

